AZ-204 Quiz

← Back to Topics

Storage Redundancy (1 / 16):

You are an engineer at Omega Corp, a company that heavily relies on Azure services. Currently, the company's Azure Storage account omegaStorageAccount within the resource group omegaRG is set up with Locally Redundant Storage (LRS) for data replication.

Recently, there have been growing concerns about the company's disaster recovery strategy. The business is expanding rapidly, serving customers globally, leading to a requirement for high availability, even in the event of a regional failure.

Recently, there have been several instances where the Omega Corp's global clients were unable to access the services due to regional disruptions. This is unacceptable for the business. Furthermore, your boss expressed a desire to have a kind of "backup" option in case the usual data access method fails. The system has to be persistent, to keep trying even if they encounter hiccups.

As an engineer at Omega Corp, your first task is to update the storage account to meet these new requirements:

# Code here


Your second task is to modify the existing code below to make use of these changes:

var accountName = "omegaStorageAccount";
var primaryAccountUri = new Uri($"https://{accountName}.blob.core.windows.net/");

var blobClientOptions = new BlobClientOptions()
{
    // Configure the retry policy to handle high bursts of user activity, transient faults, and network-related issues.
    // Take into consideration the number of retry attempts (5), delay between retries (1s), maximum waiting time (100s),
    // and the smart use of the secondary location.
    Retry = { /* Options */ }
    // More options
};

var blobServiceClient = new BlobServiceClient(primaryAccountUri, new DefaultAzureCredential(), blobClientOptions);


Bonus question: Your boss asks you when all of this will be completed, assuming coding will take you no time.

Exam revision: April 11, 2025